using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Attack", menuName = "Attack/Data")]
public class AttackData_SO : ScriptableObject
{
    public float attackRange;

    public float skill1Range;

    public float skill2_1Range;

    public float skill2_2Range;

    public float coolDown;

    public float minDamage;

    public float maxDamage;

    public float criticalMultiplier;

    public float criticalChance;

    public void ApplyWeaponData(AttackData_SO weaponData)
    {
        coolDown = weaponData.coolDown;
        minDamage = weaponData.minDamage;
        maxDamage = weaponData.maxDamage;
        criticalChance = weaponData.criticalChance;
        criticalMultiplier = weaponData.criticalMultiplier;
    }
}
